package com.jm.web.tags;

import com.jm.web.builder.LayoutBuilder;
import com.jm.web.tags.support.BaseTag;


/**
 * @author yanjie
 * Oct 26, 2011 12:35:24 PM
 */
public class LayoutTag extends BaseTag{
	private static final long serialVersionUID = 7327598562144981140L;
	@Override
	protected int onStartTag() {
		if(this.getPage().isExport() && !this.isEp()){
			return SKIP_BODY;
		}
		
		return super.onStartTag();
	}
	
	@Override
	public String getBuilderName() {
		return LayoutBuilder.class.getName();
	}
	
	public void setPostion(String strPostion) {
		SetExtValue("postion",strPostion);
	}
	
	public void setStyle(String strStyle) {
		SetExtValue("style",strStyle);
	}
}
